<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var a = ['tom','jack'];
    a.push('tom2');
    a.push('tom3');
    a.push('tom4','tom5','tom6');
    console.log(a);
</script>
</body>
</html>